package com.gxp.service;

import java.util.List;

import org.springframework.stereotype.Service;
import com.gxp.pojo.User;

@Service
public interface UserService {
	
	public User findById(User user);
	
	public void insertUser(User user);
	
	public User getActiveUser(String userId);
	
	public void activeUser(String userId);
	
	public void inactiveUser(String userId);
	
	public void updateUserPassword(User user);
	
	public void updateUserInfo(User user);

	public List<User> getAllBuyers();
	
	public List<User> getAllAdminUsers();

	public User getUserInfo(User findUser);

	public void deleteUserById(String userId);

	public void addAdminUser(User user);

	public String checkUserId(String userId);

	public boolean checkPassword(User user);

	public String checkUserMail(String userId);
	
	public User findByUserIdForLogin(User user);

	public void updateUserStatus(String userId, int status);

}
